﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Normal/Normal.Master" AutoEventWireup="true" CodeBehind="ChangPassword.aspx.cs" Inherits="HCFramework.Page.User.ChangPassword.ChangPassword" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register src="../../Control/Message/Message.ascx" tagname="Message" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="groupHeader">
        Thay đổi mật khẩu
    </div>
    <div id="formRegister" style="padding: 10px; display: table;" class="roundBox10 normalBorder">
        <table>
            <tr>
                <td style="font-weight: bold">
                    Mật khẩu cũ:
                </td>
                <td>
                    <asp:TextBox ID="TextBoxOldPass" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Nhập mật khẩu cũ" ControlToValidate="TextBoxOldPass" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="font-weight: bold">
                    Mật khẩu mới:
                </td>
                <td>
                    <asp:TextBox ID="TextBoxNewPass1" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="Nhập mật khẩu mới" ControlToValidate="TextBoxNewPass1" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="font-weight: bold">
                    Mật khẩu mới:
                </td>
                <td>
                    <asp:TextBox ID="TextBoxNewPass2" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="Nhập lại mật khẩu mới" ControlToValidate="TextBoxNewPass2" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="font-weight: bold;">
                </td>
                <td>
                    <asp:Button ID="ButtonUpdate" runat="server" Text="Cập nhật" 
                        onclick="ButtonUpdate_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <uc1:Message ID="Message1" runat="server" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
<asp:Content ID="ContentLeft" ContentPlaceHolderID="ContentPlaceHolderLeft" runat="server">
</asp:Content>
<asp:Content ID="ContentRight" ContentPlaceHolderID="ContentPlaceHolderRight" runat="server">
</asp:Content>